]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
extensionPrefs: Schedule updates check on activate
authorFlorian Müllner <fmuellner@gnome.org>
Sun, 26 Jan 2020 23:47:18 +0000 (00:47 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 3 Feb 2020 18:33:14 +0000 (19:33 +0100)
While gnome-shell will now check for extension updates, the checks
are performed infrequently. Opening the Extensions app implies that
the user's current focus is on extensions, so it is an appropriate
time to schedule another updates check.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968

js/extensionPrefs/main.js

index 67ff6c5c1578b50898be1df02732ade0d366d56d..83abbb43ee24f7273f3810ed5b91f56896ff3ce1 100644 (file)
@@ -38,6 +38,7 @@ class Application extends Gtk.Application {
     }
 
     vfunc_activate() {
+        this._shellProxy.CheckForUpdatesRemote();
         this._window.present();
     }